﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraBars;
using DevExpress.XtraBars.Ribbon;
using DevExpress.XtraBars.Helpers;
using DevExpress.Skins;
using DevExpress.LookAndFeel;
using DevExpress.UserSkins;
using MSP.UI.Forms;


namespace MSP.UI
{
    public partial class frmMain : RibbonForm
    {
        public frmMain()
        {
            InitializeComponent();
            InitSkinGallery();

        }
        void InitSkinGallery()
        {
            SkinHelper.InitSkinGallery(rgbiSkins, true);
        }

        private void iSave_ItemClick(object sender, ItemClickEventArgs e)
        {
            

        }

        private void biUsers_ItemClick(object sender, ItemClickEventArgs e)
        {
            xfrmUsers xfrm = new xfrmUsers();
            xfrm.ShowDialog();
            xfrm.Dispose();
        }

        private void biProductCategories_ItemClick(object sender, ItemClickEventArgs e)
        {
            xfrmProductCategory xfrm = new xfrmProductCategory();
            xfrm.ShowDialog();
            xfrm.Dispose();
        }

        private void biProduct_ItemClick(object sender, ItemClickEventArgs e)
        {
            xfrmProducts xfrm = new xfrmProducts();
            xfrm.ShowDialog();
            xfrm.Dispose();
        }

        private void biCustomer_ItemClick(object sender, ItemClickEventArgs e)
        {
            xfrmCustomers xfrm = new xfrmCustomers();
            xfrm.ShowDialog();
            xfrm.Dispose();
        }

        private void biAddStock_ItemClick(object sender, ItemClickEventArgs e)
        {
            xfrmAddStock xfrm = new xfrmAddStock();
            xfrm.ShowDialog();
            xfrm.Dispose();
        }

    }
}